
/**
 * 我的消息列表
 */
export const useLoadMeMessageApi = (body) => {
    return useHttpPost(`/v1/user/center/message/me`,{body})
}

/**
 * 查询系统消息列表
 */
export const useLoadSystemMessageApi = (body) => {
    return useHttpPost(`/v1/user/center/message/system`,{body})
}

/**
 * 一键已读我的消息
 */
export const useUpdateMessageMarkAllApi = () => {
    return useHttpPost(`/v1/user/center/message/markall`,{})
}

/**
 * 已读我的消息
 */
export const useUpdateMessageMarkApi = (id) => {
    return useHttpPost(`/v1/user/center/message/mark?id=${id}`,{})
}

/**
 * 删除我的消息
 */
export const useDelMessageMarkApi = (id) => {
    return useHttpPost(`/v1/user/center/message/del?id=${id}`,{})
}

/**
 * 修改系统时间和课程时间
 * @returns
 */
export const useSaveUpdatePointMessageApi = (stype) => {
    return useHttpPost(`/v1/message/point/saveupdate?stype=${stype}`,{})
}